/*
package com.rinlink.jbcodec.creator;


import com.alibaba.fastjson.JSONObject;
import com.rinlink.jbcodec.common.CreatorUtils;
import com.rinlink.jbcodec.transform.Transform;

import java.nio.ByteBuffer;

public abstract class ByteBufferToArrayCreator<T> extends ByteBufferToObjectCreator<T> {

    @Override
    protected Transform<T> create(JSONObject attr, ByteBuffer data, JSONObject t) {
        int size = CreatorUtils.getArraySize(attr);
        return create(data,size);
    }

    protected abstract Transform<T> create(ByteBuffer data,int size);

}*/
